package Entities;

import javax.persistence.*;

@Entity
@Table(name="vehiculos_externos")
public class VehiculoExterno extends Vehiculo {
	
	@ManyToOne
	@JoinColumn(name="proveedor_id")
	private Proveedor proveedor;

	/**
	 * Getters and setter
	 */
	
	public Proveedor getProveedor() {
		return proveedor;
	}

	public void setProveedor(Proveedor proveedor) {
		this.proveedor = proveedor;
	}
	
	

}
